package com.apexedu.biz.entity;

import javax.persistence.*;
import java.util.Date;

/**
 * TServiceIntroducd entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "T_SERVICE_INTRODUCD")
public class TServiceIntroducd implements java.io.Serializable {

	// Fields

	private String wid;
	private String title;
	private String unit;
	private String workingtime;
	private String workingplace;
	private String contact;
	private String rulesintroduced;
	private String cjr;
	private Date cjrq;
	private String menuid;
	private String attention;
	private String version;

	// Constructors

	/** default constructor */
	public TServiceIntroducd() {
	}

	/** minimal constructor */
	public TServiceIntroducd(String wid) {
		this.wid = wid;
	}

	/** full constructor */
	public TServiceIntroducd(String wid, String title, String unit, String workingtime, String workingplace,
							 String contact, String rulesintroduced, String cjr, Date cjrq, String menuid, String attention,
							 String version) {
		this.wid = wid;
		this.title = title;
		this.unit = unit;
		this.workingtime = workingtime;
		this.workingplace = workingplace;
		this.contact = contact;
		this.rulesintroduced = rulesintroduced;
		this.cjr = cjr;
		this.cjrq = cjrq;
		this.menuid = menuid;
		this.attention = attention;
		this.version = version;
	}

	// Property accessors
	@Id
	@Column(name = "WID", unique = true, nullable = false, length = 50)
	public String getWid() {
		return this.wid;
	}

	public void setWid(String wid) {
		this.wid = wid;
	}

	@Column(name = "TITLE", length = 400)
	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@Column(name = "UNIT", length = 400)
	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	@Column(name = "WORKINGTIME", length = 400)
	public String getWorkingtime() {
		return this.workingtime;
	}

	public void setWorkingtime(String workingtime) {
		this.workingtime = workingtime;
	}

	@Column(name = "WORKINGPLACE", length = 400)
	public String getWorkingplace() {
		return this.workingplace;
	}

	public void setWorkingplace(String workingplace) {
		this.workingplace = workingplace;
	}

	@Column(name = "CONTACT", length = 400)
	public String getContact() {
		return this.contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	@Column(name = "RULESINTRODUCED")
	public String getRulesintroduced() {
		return this.rulesintroduced;
	}

	public void setRulesintroduced(String rulesintroduced) {
		this.rulesintroduced = rulesintroduced;
	}

	@Column(name = "CJR", length = 80)
	public String getCjr() {
		return this.cjr;
	}

	public void setCjr(String cjr) {
		this.cjr = cjr;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "CJRQ", length = 7)
	public Date getCjrq() {
		return this.cjrq;
	}

	public void setCjrq(Date cjrq) {
		this.cjrq = cjrq;
	}

	@Column(name = "MENUID", length = 50)
	public String getMenuid() {
		return this.menuid;
	}

	public void setMenuid(String menuid) {
		this.menuid = menuid;
	}

	@Column(name = "ATTENTION", length = 2000)
	public String getAttention() {
		return this.attention;
	}

	public void setAttention(String attention) {
		this.attention = attention;
	}

	@Column(name = "VERSION", length = 50)
	public String getVersion() {
		return this.version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

}